<div class="widgets">
    <div ba-panel ba-panel-title="App信息" ba-panel-class="with-scroll">
        <form class="row form-inline ng-pristine ng-valid ng-scope">

            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">App 名称:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input type="text" ng-model="app.name" class="form-control" ng-class="{'editable-hide':!app_s.a}" id="inputEmail3" placeholder="请输入App名称">
                    <span ng-class="{'editable-hide':app_s.a}" style="line-height: 30px;">{{app.name}}</span>
                </div>
                <div class="form-group  col-sm-1 col-xs-2">
                    <button type="button" class="btn btn-default  btn-xs" ng-class="{'editable-hide':app_s.a}" ng-click="bianji_fn('app','a')">编辑</button>
                    <button type="button" class="btn btn-default  btn-xs" ng-class="{'editable-hide':!app_s.a}" ng-click="bianji_fn('app','a')">保存</button>
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">App 版本号:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input ng-class="{'editable-hide':!app_s.b}" type="text" ng-model="app.version" class="form-control" id="inputEmail3" placeholder="请输入App 版本号">
                    <div style="line-height: 30px;" ng-class="{'editable-hide':app_s.b}">{{app.version}}</div>
                </div>
                <div class="form-group  col-sm-1 col-xs-2">
                    <button type="button" class="btn btn-default  btn-xs" ng-class="{'editable-hide':app_s.b}" ng-click="bianji_fn('app','b')">编辑</button>
                    <button type="button" class="btn btn-default  btn-xs" ng-class="{'editable-hide':!app_s.b}" ng-click="bianji_fn('app','b')">保存</button>
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">IOS下载地址:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input type="text" class="form-control" ng-class="{'editable-hide':!app_s.c}" id="inputEmail3" ng-model="app.iosdown" placeholder="请输入ios下载地址(例:http://www.iosqmk.com)">
                    <div style="line-height: 30px;" ng-class="{'editable-hide':app_s.c}">{{app.iosdown}}</div>
                </div>
                <div class="form-group  col-sm-1 col-xs-2">
                    <button type="button" class="btn btn-default  btn-xs" ng-class="{'editable-hide':app_s.c}" ng-click="bianji_fn('app','c')">编辑</button>
                    <button type="button" class="btn btn-default  btn-xs" ng-class="{'editable-hide':!app_s.c}" ng-click="bianji_fn('app','c')">保存</button>
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">Android下载地址:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input type="text" class="form-control" ng-class="{'editable-hide':!app_s.d}" id="inputEmail3" ng-model="app.androiddown" placeholder="请输入Android下载地址（例:http://www.qmk.com)">
                    <div style="line-height: 30px;" ng-class="{'editable-hide':app_s.d}">{{app.androiddown}}</div>
                </div>
                <div class="form-group  col-sm-1 col-xs-2">
                    <button type="button" class="btn btn-default  btn-xs" ng-class="{'editable-hide':app_s.d}" ng-click="bianji_fn('app','d')">编辑</button>
                    <button type="button" class="btn btn-default  btn-xs" ng-class="{'editable-hide':!app_s.d}" ng-click="bianji_fn('app','d')">保存</button>
                </div>
            </div>
        </form>
    </div>
    <div ba-panel ba-panel-title="设备销售" ba-panel-class="with-scroll">
        <form class="row form-inline ng-pristine ng-valid ng-scope">
            <!-- 旗舰店信息 -->
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">官方旗舰店名称:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input ng-class="{'editable-hide':!devic.e}" type="text" class="form-control" id="inputEmail3" ng-model="devicesales.flagshipname" placeholder="请输入金鼻光链接名称（例:全民康天猫旗舰店）">
                    <div ng-class="{'editable-hide':devic.e}" style="line-height: 30px;">{{devicesales.flagshipname}}</div>
                </div>
                <div class="form-group  col-sm-1 col-xs-2">
                    <button ng-class="{'editable-hide':devic.e}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','e')">编辑</button>
                    <button ng-class="{'editable-hide':!devic.e}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','e')">保存</button>
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">官方旗舰店网址:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input ng-class="{'editable-hide':!devic.f}" type="text" class="form-control" id="inputEmail3" ng-model="devicesales.flagshipurl" placeholder="请输入金鼻光链接名称（例:http://www.taobao.com）">
                    <div ng-class="{'editable-hide':devic.f}" style="line-height: 30px;">{{devicesales.flagshipurl}}</div>
                </div>
                <div class="form-group  col-sm-1 col-xs-2">
                    <button ng-class="{'editable-hide':devic.f}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','f')">编辑</button>
                    <button ng-class="{'editable-hide':!devic.f}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','f')">保存</button>
                </div>
            </div>
            <!-- 金鼻光信息 -->
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">金鼻光链接名称:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input ng-class="{'editable-hide':!devic.a}" type="text" class="form-control" id="inputEmail3" ng-model="devicesales.device[0].name" placeholder="请输入金鼻光链接名称（例:金鼻光）">
                    <div ng-class="{'editable-hide':devic.a}" style="line-height: 30px;">{{devicesales.device[0].name}}</div>
                </div>
                <div class="form-group  col-sm-1 col-xs-2">
                    <button ng-class="{'editable-hide':devic.a}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','a')">编辑</button>
                    <button ng-class="{'editable-hide':!devic.a}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','a')">保存</button>
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">金鼻光链接:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input ng-class="{'editable-hide':!devic.b}" type="text" class="form-control" id="inputEmail3" placeholder="请输入官方旗舰店网址（例:http://www.jinbiguang.com)" ng-model="devicesales.device[0].name">
                    <div ng-class="{'editable-hide':devic.b}" style="line-height: 30px;">{{devicesales.device[0].url}}</div>
                </div>
                <div class="form-group  col-sm-1 col-xs-2">
                    <button ng-class="{'editable-hide':devic.b}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','b')">编辑</button>
                    <button ng-class="{'editable-hide':!devic.b}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','b')">保存</button>
                </div>
            </div>
            <!--<div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">焕颜宝链接名称:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input ng-class="{'editable-hide':!devic.c}" type="text" class="form-control" id="inputEmail3" placeholder="焕颜宝商品链接（例:换颜宝）" ng-model="devicesales.device[0].url">
                    <div ng-class="{'editable-hide':devic.c}" style="line-height: 30px;">{{devicesales.device[0].url}}</div>
                </div>
                <div class="form-group  col-sm-1 col-xs-2">
                    <button ng-class="{'editable-hide':devic.c}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','c')">编辑</button>
                    <button ng-class="{'editable-hide':!devic.c}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','c')">保存</button>
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">焕颜宝商品链接:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input ng-class="{'editable-hide':!devic.d}" type="text" class="form-control" id="inputEmail3" placeholder="焕颜宝商品链接（例:http://www.huanyanbao.com)" ng-model="devicesales.device[1].url">
                    <div ng-class="{'editable-hide':devic.d}" style="line-height: 30px;">{{devicesales.device[1].url}}</div>
                </div>
                <div class="form-group  col-sm-1 col-xs-2">
                    <button ng-class="{'editable-hide':devic.d}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','d')">编辑</button>
                    <button ng-class="{'editable-hide':!devic.d}" type="button" class="btn btn-default  btn-xs" ng-click="bianji_fn('devic','d')">保存</button>
                </div>
            </div>-->
        </form>
    </div>
    <!-- 协议 -->
    <div ng-include="'app/pages/SystemSettings/Basics/Agreement/Agreement.html'"></div>

    <!-- 第三方 -->
    <div ng-include="'app/pages/SystemSettings/Basics/dsf/dsf.html'"></div>

</div>